@extends("admin_system/public/layout")
@section('content')
    <div class="col-xs-12 top-nav nav">
        <p class="float-left nav-path"><strong>当前位置：</strong>统计管理>>列表</p>

        {{--返回按钮--}}
        <button type="button" class="btn btn-default float-right back" aria-label="Left Align">
            <span class="glyphicon glyphicon-arrow-left back" aria-hidden="true"></span>
            <span>返回</span>
        </button>
    </div>

    <div class="content-box col-xs-12 mt20 pb20 pt20">
        <form class="form-inline nav mb10" method="post" target="iframe" action="{{asset('admin_system/count/enter?action=readparty_data')}}">
            {{csrf_field()}}
            <div class="form-group">
                <div class="input-group">
                    <div class="input-group-addon">读书会</div>
                    <select name="readparty" class="form-control">
                        @foreach($readPartys as $read)
                            <option value="{{$read->ReaParID}}">{{$read->ReaParName}}</option>
                        @endforeach
                    </select>

                    <div class="input-group-addon">书籍</div>
                    <select name="book" class="form-control">
                        {{--<option value="0">不限</option>--}}
                        @foreach($books as $book)
                            <option value="{{$book->BookID}}">{{$book->BookTitle}}</option>
                        @endforeach
                    </select>
                    <div class="input-group-addon">起始日期</div>
                    <input name="beginDate" type="date" class="form-control"/>
                    <div class="input-group-addon">结束日期</div>
                    <input name="endDate" type="date" class="form-control"/>
                </div>
            </div>
            <button type="submit" class="btn btn-primary">搜索</button>
        </form>
        <iframe src="" frameborder="0" name="iframe" style="width:100%;height:80vh;"></iframe>
    </div>
@endsection